package demo2;

interface MyShape {
    int size = 10;//public static final

    void draw();//public abstract

    default public void func() {
        System.out.println("默认方法");
    }

    public static void func2() {
        System.out.println("静态方法");
    }
}
class A implements MyShape{
    @Override
    public void draw() {

    }
}
public class Test {

}
